Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-5911

xhr_streaming/xhr_polling protocols are not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • None
    • None

    Description

      Currently, disabling WebSocket support causes an exception to be thrown when running:

      16:56:23,806 INFO  [org.jboss.aerogear.simplepush.server.netty.UserAgentReaperHandler] (defaultEventExecutorGroup-2-1) Creating UserAgentReaper job : 604800000
      16:56:24,044 INFO  [org.jboss.aerogear.simplepush.server.netty.SimplePushSockJSService] (nioEventLoopGroup-4-2) SimplePushSockJSServer onOpen
      16:56:24,045 ERROR [org.jboss.aerogear.io.netty.handler.codec.sockjs.handlers.SockJsHandler] (nioEventLoopGroup-4-2) exception caught:: java.io.IOException: Connection reset by peer
      	at sun.nio.ch.FileDispatcherImpl.read0(Native Method) [rt.jar:1.7.0_51]
      	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [rt.jar:1.7.0_51]
      	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [rt.jar:1.7.0_51]
      	at sun.nio.ch.IOUtil.read(IOUtil.java:197) [rt.jar:1.7.0_51]
      	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) [rt.jar:1.7.0_51]
      	at io.netty.buffer.UnpooledHeapByteBuf.setBytes(UnpooledHeapByteBuf.java:237) [netty-all-4.0.8.Final.jar:]
      	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:867) [netty-all-4.0.8.Final.jar:]
      	at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:208) [netty-all-4.0.8.Final.jar:]
      	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:87) [netty-all-4.0.8.Final.jar:]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:478) [netty-all-4.0.8.Final.jar:]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [netty-all-4.0.8.Final.jar:]
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [netty-all-4.0.8.Final.jar:]
      	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [netty-all-4.0.8.Final.jar:]
      	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      

      I've also seeing the following in Chrome's console log:

      net::ERR_INVALID_CHUNKED_ENCODING
      

      Attachments

        Issue Links

          Activity

            People

              dbeveniu Daniel Bevenius (Inactive)
              dbeveniu Daniel Bevenius (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: